﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="User.aspx.vb" Inherits="adminpanel_User" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:GridView ID="GwUser" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:TemplateField HeaderText="Controls">
                    <ItemTemplate>
                        <asp:Button ID="BtnDelete" runat="server" Text="Delete" CommandArgument='<%# Eval("Email") %>' CommandName="UserDelete"/>
                        <asp:Button ID="BtnEdit" runat="server" Text="Edit" CommandArgument='<%# Eval("Email") %>' CommandName="UserEdit"/>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Email">
                    <ItemTemplate>
                         <asp:Label ID="Email" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Name">
                    <ItemTemplate>
                         <asp:Label ID="Name" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Surname">
                    <ItemTemplate>
                         <asp:Label ID="Surname" runat="server" Text='<%# Eval("Surname") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Photo">
                    <ItemTemplate>
                         <asp:Label ID="Photo" runat="server" Text='<%# Eval("Photo") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Created">
                    <ItemTemplate>
                         <asp:Label ID="Created" runat="server" Text='<%# Eval("Created") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Modified">
                    <ItemTemplate>
                         <asp:Label ID="Modified" runat="server" Text='<%# Eval("Modified") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <%--<asp:CommandField EditText="Edit" UpdateText="Update" CancelText="Cancel" DeleteText="Delete" ShowEditButton="true" ShowDeleteButton="true"/>--%>
            </Columns> 
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
